package com.shanks.framework.mq.model;

import com.shanks.framework.mq.enums.MQZone;

import java.util.Date;

/**
 * 消息消费记录
 */
public class MessageConsumeRecordPO {
    private Long messageConsumeId;

    /**
     * 消费时包装的消息id
     */
    private String msgId;

    private String msgTopic;

    private String msgTag;

    private String msgKey;

    /**
     * 校验码
     */
    private String checkcode;

    /**
     * 消费者
     */
    private String consumerSource;

    /**
     * 生产者
     */
    private String producerSource;

    /**
     * 消息泳道
     */
    private MQZone mqZone;

    /**
     * 消息Json
     */
    private String messageJson;

    /**
     * 消费时间
     */
    private Date consumeTime;

    /**
     * 创建时间
     */
    private Date createTime;


    public Long getMessageConsumeId() {
        return messageConsumeId;
    }

    public void setMessageConsumeId(Long messageConsumeId) {
        this.messageConsumeId = messageConsumeId;
    }

    public String getMsgId() {
        return msgId;
    }

    public void setMsgId(String msgId) {
        this.msgId = msgId;
    }

    public String getMsgTopic() {
        return msgTopic;
    }

    public void setMsgTopic(String msgTopic) {
        this.msgTopic = msgTopic;
    }

    public String getMsgTag() {
        return msgTag;
    }

    public void setMsgTag(String msgTag) {
        this.msgTag = msgTag;
    }

    public String getMsgKey() {
        return msgKey;
    }

    public void setMsgKey(String msgKey) {
        this.msgKey = msgKey;
    }

    public String getCheckcode() {
        return checkcode;
    }

    public void setCheckcode(String checkcode) {
        this.checkcode = checkcode;
    }

    public String getConsumerSource() {
        return consumerSource;
    }

    public void setConsumerSource(String consumerSource) {
        this.consumerSource = consumerSource;
    }

    public String getProducerSource() {
        return producerSource;
    }

    public void setProducerSource(String producerSource) {
        this.producerSource = producerSource;
    }

    public MQZone getMqZone() {
        return mqZone;
    }

    public void setMqZone(MQZone mqZone) {
        this.mqZone = mqZone;
    }

    public String getMessageJson() {
        return messageJson;
    }

    public void setMessageJson(String messageJson) {
        this.messageJson = messageJson;
    }

    public Date getConsumeTime() {
        return consumeTime;
    }

    public void setConsumeTime(Date consumeTime) {
        this.consumeTime = consumeTime;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}
